<li class="<?=$m->getClass()?>">
	<a id="<?=$m->getId()?>"
		<?php if ($m->haveMenu()) {?> 
		class="dropdown-toggle" data-toggle="dropdown" data-target="#"
		<?php } ?> 
		href="<?=implode('/',$m->getPath())?>"><?=$this->T($m->getName())?></a>
	<?php if ($m->haveMenu()) { ?>
		<ul id="menu1" class="dropdown-menu" role="menu" aria-labelledby="<?=$m->getId()?>"> 
		<?php foreach ($m->getMenu() as $m1) { ?>
			<li>
				<a tabindex="-1" href="<?=implode('/', $m1->getPath())?>"><?=$this->T($m1->getName())?></a>
			</li>
		<?php } ?>
		</ul>
	<?php } ?>
</li>
